package com.tsing.cli.system.service;

import cn.hutool.core.lang.tree.Tree;
import com.tsing.cli.system.vo.req.LoginReqVO;
import com.tsing.cli.system.vo.resp.LoginRespVO;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

/**
 * @author TheTsing
 * @since 2022-11-28 15:47
 */
public interface IAuthorizationService {

    LoginRespVO login(LoginReqVO reqVO, HttpServletRequest request);

    List<Tree<String>> build();

    void logout(HttpServletRequest request);

}
